package com.vision.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: VideoAndUserVO
 * @author: escapeicon@gmail.com
 * @description: 视频与用户的视图对象
 * @date: 2024/1/22 17:19
 * @version: 1.0
 */
@Data
public class VideoAndUserVO {
    private Integer videoId;
    private String title;
    private Integer userId;
    private String username;
    private String nickname;
    private String coverUrl;
    private Integer views;
    private Integer duration;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
}
